#########################################################################
#  Spanyol polgrhbor - Portugl beavatkozs
#########################################################################
event = {
	id = 91269
	random = no
	country = POR

	trigger = {
		OR = {
				headofgovernment = 9002 #Salazar
			}
		war = { country = SPA country = SPR }
		event = 3100 #SPA fascist nation
		NOT = {
			OR = {
			war = { country = POR country = SPA }
			war = { country = POR country = SPR }
			war = { country = POR country = SOV }
			war = { country = POR country = ENG }
			war = { country = POR country = USA }
			}
		}
		supplies = 40
	}

	name = "EVT_91269_NAME"
	desc = "EVT_91269_DESC"
	style = 0
	picture = "SCW_Italian_Intervention"

	date = { day = 27 month = july year = 1936 }
	offset = 5
	deathdate = { day = 30 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME91269A" # Hadianyag s nkntesek kldse Franconak
		ai_chance = 97
		command = { type = dissent value = 1 }
		command = { type = relation which = SPA value = 20 }
		command = { type = relation which = SPR value = -20 }
		command = { type = manpowerpool value = -12 }	#mintegy 12000 viriat
		command = { type = supplies value = -40 }
		command = { type = access which = SPA }
		command = { type = trigger which = 91270 }
	}
	action_b = {
		name = "ACTIONNAME91269B" # Semlegessg
		ai_chance = 3
		command = { type = dissent value = 1 }
		command = { type = relation which = SPA value = 2 }
		command = { type = relation which = SPR value = 2 }
		command = { type = relation which = FRA value = 5 }
		command = { type = relation which = ENG value = 5 }
		command = { type = relation which = SOV value = 5 }
		command = { type = relation which = GER value = 1 }
	}
}

#  Spanyol polgrhbor vge - Portugl beavatkozs
##################################################
event = {
	id = 91271
	random = no
	country = POR

	trigger = {
		event = 91270
		OR = {
			event = 3004
			AND = {
				flag = SCW_allied_intervention	# If allies intervene then it doesnt matter which side wins
				OR = {
					NOT = { exists = SPR }
					NOT = { exists = SPA }
				}
			}
		}
		NOT = {
			OR = {
			war = { country = POR country = SPA }
			war = { country = POR country = SPR }
			war = { country = POR country = SOV }
			war = { country = POR country = ENG }
			war = { country = POR country = USA }
			}
		}
	}

	name = "EVT_91271_NAME"
	desc = "EVT_91271_DESC"
	style = 0
	picture = "SCWita"

	date = { day = 28 month = july year = 1936 }
	offset = 5
	deathdate = { day = 30 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME91271A" # Great!
		command = { type = relation which = SPA value = 20 }
		command = { type = gain_tech which = 9060 }
		command = { type = end_access which = SPA }
	}
}

#  Cabinda olaj
##################################################
event = {
	id = 91364
	random = no
	#country = POR

	trigger = {
		control = { province = 1096 data = POR } # Loanda
	}

	name = "EVT_91364_NAME"
	desc = "EVT_91364_DESC"
	style = 0
	picture = "maort"

	date = { day = 1 month = january year = 1955 }
	offset = 60
	deathdate = { day = 30 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME91364A" # Great!
		command = { type = add_prov_resource which = 1096 value = 3 where = oil }
		command = { type = domestic which = free_market value = 1 } #ennyit a korporativizmusrl
		#command = { type = relation which = USA value = 5 }
	}
}